package com.oozol.lieluyun.mapper;

import com.oozol.lieluyun.entity.UserEntity;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
   Integer getUserCount();

   UserEntity getUserById(int id);

   List<UserEntity> getUserList();

   Integer addUser(UserEntity user);

   Integer updateUser(UserEntity user);

   Integer deleteUser(Integer id);
}
